package com.his.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.his.bean.DzmHisPurchase;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Entity com.his.bean.DzmHisPurchase
 */
@Mapper
public interface DzmHisPurchaseMapper extends BaseMapper<DzmHisPurchase> {
    List<DzmHisPurchase> dzmHisPurchase_list(DzmHisPurchase dzmHisPurchase);

    int dzmHisPurchase_insert(DzmHisPurchase dzmHisPurchase);

    int dzmHisPurchase_update(DzmHisPurchase dzmHisPurchase);

    DzmHisPurchase dzmHisPurchase_update_getid(Integer purchaseId);

    Integer dzmHisPurchase_delete(Integer purchaseId);

    List<DzmHisPurchase> dzmHisPurchase_review_the_drugs(DzmHisPurchase dzmHisPurchase);

  int dzmHisPurchase_update_state(String batchesOfInventoryId);
}
